package interview.base;

public class StringLengthTest {

    public static void main(String[] args) {
        Integer a = 10;
        Character c = 'a';
        String s1 = "房斌";
        String s2 = "hello";
        System.out.println(s1.getBytes().length);
        System.out.println(s2.getBytes().length);
        System.out.println(s1.length());
        System.out.println(s2.length());
    }
}
